<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table>
		<thead>
			<tr>
				<td colspan="8">
					<font>当前页:第${pageView.currentpage}页 | 总记录数:${pageView.totalrecord}条 | 每页显示:${pageView.maxrecord}条 | 总页数:${pageView.totalpage}页</font>　
					<br/>
					<s:iterator begin="pageView.pageindex.startindex" end="pageView.pageindex.endindex" var="pageIndex">
						<s:if test="pageView.currentpage==#pageIndex">
							<b><font color="#00ffff">${pageIndex}</font></b>
						</s:if>
						<s:else> 
							<s:url action="bbs_discuss" namespace="/forward/view" id="discussList">
								<s:param name="bookid" value="bookid"/>
								<s:param name="currentpage" value="pageIndex"/>
							</s:url>
							<a href="#">[${pageIndex}]</a>
						</s:else>
					</s:iterator>
				</td>
			</tr>
			<tr>
				<td>选择</td>
				<td>姓名</td>
				<td>图片</td>
				<td>人气指数</td>
				<td>代表作品</td>
				<td>修改</td>
				<td>操作</td>
				<td>显示</td>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="pageView.records" var="author_list">
				<tr>
					<td><input type="checkbox" /></td>
					<td>${author_list.users.userName}</td>
					<td>
						<div style="width: 80px;height: 80px;overflow: hidden;">
							<img alt="" src="${author_list.users.logo}" width="80" height="80">
						</div>
					</td>
					<td>${author_list.love}</td>
					<td>《三毛》</td>
					<td><input type="image" src="/image/admin/edit.gif"/></td>
					<td><input type="image" src="/image/admin/pic9.gif"/></td>
					<td><s:if test="#author_list.marker==1">是</s:if><s:else>否</s:else> </td>
				</tr>
			</s:iterator>
		</tbody>
		<tfoot>
			<tr>
				<td>
					<input type="checkbox" />全选
				</td>
				<td colspan="2">
					<input type="button" value="删除" />
				</td>
				<td colspan="2">
					<input type="button" value="添加"   onclick="wBox.showBox()"/>
				</td>
				<td colspan="3">
					<input type="button" value="生成静态的HTML页面"   onclick="changeContent('/control/mapping/author_bestAuthorMap.go','ftlName=${ftlName}&htmlName=${htmlName}')"/>
				</td>
			</tr>
		</tfoot>
	</table>
</body>
</html>